package com.java.syun.pool;

import lombok.SneakyThrows;

public class MyRunnable implements Runnable{

    @SneakyThrows
    @Override
    public void run() {
        long ts = System.currentTimeMillis();
        System.out.println("启动任务：" + Thread.currentThread().getName() + "_" + ts);
        Thread.sleep(40000);
        System.out.println("任务结束：" + Thread.currentThread().getName() + "_" + ts);
    }
}
